<?php

function update_index()
{
/*	return 
'<?xml version="1.0"?>
<index_data>
  <industry>
    <food name="美食" >
      <food_level2 name="湘菜"/>
      <food_level2 name="川菜"/>
      <food_level2 name="牛排"/>
    </food>
    <marriage name="结婚">
      <marriage_level2 name="婚庆公司"/>
      <marriage_level2 name="婚宴酒店"/>
      <marriage_level2 name="婚纱礼服"/>
    </marriage>
    <homemaking name="家政">
      <homemaking_level2 name="保姆"/>
      <homemaking_level2 name="管道疏通"/>
      <homemaking_level2 name="开锁"/>
    </homemaking>
  </industry>

  <category>
    <computer name="电脑、笔记本">
      <computer_level2 name="电脑整机">
        <computer_level3 name="笔记本"/>
	    <computer_level3 name="平板电脑"/>
	    <computer_level3 name="一体机"/>
      </computer_level2>
      <computer_level2 name="电脑硬件">
        <computer_level3 name="CPU"/>
	    <computer_level3 name="硬盘"/>
	    <computer_level3 name="内存"/>
      </computer_level2>
      <computer_level2 name="电脑外设">
        <computer_level3 name="移动硬盘"/>
	    <computer_level3 name="鼠标"/>
	    <computer_level3 name="键盘"/>
      </computer_level2>
    </computer>
    <mobilephone name="手机数码">
      <mobilephone_level2 name="手机通讯">
        <mobilephone_level3 name="手机"/>
	    <mobilephone_level3 name="对讲机"/>
	    <mobilephone_level3 name="手机号码"/>
      </mobilephone_level2>
      <mobilephone_level2 name="手机配件">
        <mobilephone_level3 name="手机耳机"/>
	    <mobilephone_level3 name="对机电池"/>
	    <mobilephone_level3 name="充电器"/>
      </mobilephone_level2>
      <mobilephone_level2 name="摄影摄像">
        <mobilephone_level3 name="数码相机"/>
	    <mobilephone_level3 name="单反相机"/>
	    <mobilephone_level3 name="摄像机"/>
      </mobilephone_level2>
    </mobilephone>
  </category>

  <facility>
    <businessArea name="按商业区">
      <businessArea_level2 name="南京东路"/>
      <businessArea_level2 name="南京西路"/>
      <businessArea_level2 name="五角场"/>
      <businessArea_level2 name="陆家嘴"/>
   </businessArea>
   <district name="按行政区">
     <district_level2 name="浦东新区"/>
     <district_level2 name="徐汇区"/>
     <district_level2 name="闵行区"/>
     <district_level2 name="虹口区"/>
   </district>
  </facility>
</index_data>';*/

/*
$arr1 = array( 
'name' => '陈毅鑫', 
'nick' => '深空', 
'email' => 'shenkong at qq dot com', 
'website' => 'http://www.chenyixin.com'
);

$arr2 = array( 
'name' => '陈jiajia', 
'nick' => '深空', 
'email' => 'shenkong at qq dot com', 
'website' => 'http://www.chenyixin.com'
);

$arr = array($arr1,$arr2);
$arr = array(
	'name'=>'chuchu',
	'nick'=>'def'
);*/

$party1 = array( 
'partyName' => '望湘园(第一百货店)', 
'pageUrl' => 'http://www.dianping.com/shop/5449482?KID=105285', 
'partyLogo' => 'images/thumb.jpg', 
'facility' => '黄浦区南京东路830号第一百货新楼6楼',
'mobilephone' => '13900000000',
'fixphone' => '021-63619877',
'refreshDateTime' => '2012年5月1日11:35',
'message' => '五一大减价，湘菜新品上市，快来品尝吧，亲！'
);

$party2 = array( 
'partyName' => '潮汕砂煲粥湘菜(控江路店)', 
'pageUrl' => 'http://www.dianping.com/shop/5449482?KID=105285', 
'partyLogo' => 'images/thumb.jpg', 
'facility' => '虹口区西江湾路388号',
'mobilephone' => '13900000000',
'fixphone' => '021-56327138',
'refreshDateTime' => '2012年4月9日11:35',
'message' => '4月10日至4月13日，会员优惠8折起，赶紧来办会员卡吧，亲！'
);

$party3 = array( 
'partyName' => '小湘炉', 
'pageUrl' => 'http://www.dianping.com/shop/5449482?KID=105285', 
'partyLogo' => 'images/thumb.jpg', 
'facility' => '虹口区西江湾路388号',
'mobilephone' => '13900000000',
'fixphone' => '021-56327138',
'refreshDateTime' => '2012年4月9日11:35',
'message' => '真的假的，18种菜品免费尝鲜，赶紧来办会员卡吧，亲！'
);

$arr = array( $party1, $party2, $party3);

$total_page_num = 2;

$a = array( $arr, $total_page_num );

$json_string = json_encode($a);

return $json_string;



}
?>